-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement az-cli warmup on ubuntu #11173
Conversation
03a8b0d
to
d7aef1b
Compare
d7aef1b
to
10f8ea2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your contribution @lanni-energinet .
We are merging this PR based on our internal test results.
This change breaks |
|
||
# AZURE_CONFIG_DIR shell variable defines where the CLI configuration file for managing behavior are stored | ||
# https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration#cli-configuration-file | ||
# This path SHOULD be different from the installation directory /opt/az/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration directory of Azure CLI on an agent is /home/runner/.azure
.
You may see this using this action:
name: Run Azure Login
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- run: az account get-access-token --debug
The debug log shows:
DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/home/runner/.azure/service_principal_entries.json', encrypt=False
|
This reverts commit ffe7e6a.
Description
This PR fixes #10110.
Related issue:
#10110
Check list